package com.pj.wisdomlogistics.mvp.model;


import com.pj.wisdomlogistics.entity.response.BaseResponse;
import com.pj.wisdomlogistics.mvp.frame.MvpModel;

import rx.Observable;


public class RegistModel extends MvpModel {
    public Observable<BaseResponse> regist(
            String loginName ,
            String password ,
            String name ,
            String mobile
    ){
        return mApiService.regist(
                loginName ,
                password ,
                name ,
                mobile
        );
    }

    public Observable<BaseResponse<String>> userMsg(
            String mobile
    ){
        return mApiService.userMsg(mobile);
    }
}
